package com.app.studyroom.api.model.ssrUser;

import com.google.gson.annotations.SerializedName;

public class LoginRequest {

    @SerializedName("userZjh")  // ✅ 告诉Gson：这个字段序列化时叫"userZjh"
    private String idCard;       // 本地变量名可以叫idCard，更易懂

    @SerializedName("userPassword")
    private String password;

    private String icId;

    public String getIcId() {
        return icId;
    }

    public void setIcId(String icId) {
        this.icId = icId;
    }

    public LoginRequest() {}

    public LoginRequest(String idCard, String password) {
        this.idCard = idCard; //证件号
        this.password = password;
    }
    public LoginRequest(String icId) {
        this.icId         = icId;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
